package cc.mrbird.febs.item.service;

import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.item.domain.ItemBean;
import cc.mrbird.febs.item.domain.UserItemBean;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ItemService extends IService<ItemBean> {
    IPage<ItemBean> listItemById(ItemBean itemBean, QueryRequest queryRequest);
    IPage<ItemBean> listItemByUser(UserItemBean userItemBean, QueryRequest queryRequest);

    List<ItemBean> listItem();
}
